package com.wpre.transaction.service;

import com.wpre.transaction.mapper.UserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LianBao
 * Date: 2024-11-28
 * Time: 12:56
 */
@Service
public class UserService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    public int registryUser(String username, String password) {
        //插⼊⽤户信息
        int result = userInfoMapper.insert(username, password);
        return result;
    }
}

